﻿using System.Collections.Generic;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MyCompany.WebCrawler.Domain;

namespace MyCompany.WebCrawler.Test.Domain.DownloaderTests.Given_Page
{
    [TestClass]
    public class When_ExtractLinksFromEmptyPage : Context
    {
        private List<string> links;

        public override void Act()
        {
            var downloader = new Downloader();
            links = downloader.ExtractLinks();
        }

        [TestMethod]
        public void Then_GooglePageIsHere()
        {
            links.Should().BeEmpty();
        }
    }
}